import instance from '@/utils/request';

export function getpatrolpathapi(data) {
    return instance.request({
        url: "api/SafeManage/GetPatrolpath",
        method: "post",
        data
    })
}

export function postpatrolpathapi(data) {
    return instance.request({
        url: "api/SafeManage/PostAddPatrolpath",
        method: "post",
        data
    })
}

export function putpatrolpathapi(data) {
    return instance.request({
        url: "api/SafeManage/PutUpdatePatrolpath",
        method: "put",
        data
    })
}

export function deletepatrolpathapi(data) {
    return instance.request({
        url: "api/SafeManage/DeletePatrolpathById",
        method: "delete",
        data
    })
}